<?php

/**
 * Description of Helpers_Favicon
 *
 * @author a.novikov
 */
class Helpers_Favicon extends Helpers_Base {

	public function getViewPath() {
		return 'favicon.tpl';
	}

	public function favicon() {
		$colors = array(
			'red',
			'green',
			'blue',
			'yellow'
		);

		$key = array_rand($colors);
		
		$this->view->color = $colors[$key];

		return $this->render();
	}
}